package com.qf.application.service.impl;

import com.qf.application.entity.EmergencyContact;
import com.qf.application.mapper.EmergencyContactMapper;
import com.qf.application.service.EmergencyContactService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.application.utils.result.Result;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author l
 * @since 2024-07-06
 */
@Service
public class EmergencyContactServiceImpl extends ServiceImpl<EmergencyContactMapper, EmergencyContact> implements EmergencyContactService {

    @Override
    public Boolean putEmerByUserId(EmergencyContact emergencyContact) {
        return this.baseMapper.updateEmerByUserId(emergencyContact);
    }
}
